Skip to content

Add auto-update support#36

Merged
gmoon merged 1 commit into
mainfrom
feat/auto-update
Jul 4, 2026
Merged

Add auto-update support#36
gmoon merged 1 commit into
mainfrom
feat/auto-update

Conversation

@gmoon

@gmoon gmoon commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Lattice can now silently auto-update when a newer version is available.

How it works

Enable in ~/.lattice/config.yaml:

auto_update: true

Or per-session: LATTICE_AUTO_UPDATE=1

When enabled, maybe_notify_update (which runs after every command) silently downloads and replaces the binary instead of printing the update notice. Works seamlessly with the ~/.local/bin install path (no sudo).

Disabled by default. Skipped for dev builds, MCP mode, and when no TTY.

Also

  • Update notice now mentions auto-update option
  • README updated with install/update docs and current status line

🤖 Generated with Claude Code

Auto-update: enabled via ~/.lattice/config.yaml (auto_update: true)
or LATTICE_AUTO_UPDATE=1 env var. When enabled, silently updates
instead of printing the notice. Disabled by default.

Update notice now mentions auto-update option.

README: added Updating section with auto-update docs, updated
install description for ~/.local/bin default, updated status line.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gmoon gmoon force-pushed the feat/auto-update branch from e724ee8 to 3c905bc Compare July 4, 2026 15:39
@gmoon gmoon merged commit 24a17c0 into main Jul 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant